package com.sample.springbatch.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 类在XML文件中加载示例
 * Created by zwg on 2017/8/22.
 */
public class XmlLoadBeanService {

    Logger logger = LoggerFactory.getLogger(XmlLoadBeanService.class);

    private String name="";

    public void showName(){
        logger.info("hello "+name+".");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
